<template>
  <div>
    <p>1</p >
    <tr v-for="i in list" :key="i.id">
      <td>{{i.name}}
        <a :href="'/workf?id='+i.id">参数配置</a></td>
    </tr>
    
  </div>
</template>

<script>
export default {
  name: "workflow",
  data() {
    return {
      list: [],
    }
  },
  methods: {
    get_list() {
      this.myaxios('http://127.0.0.1:5000/work','get')
      .then(res=>{
        this.list = res.data.list
      })
    }
  },
  mounted() {
    this.get_list()
  }
}
</script>

<style scoped>

</style>